package com.iap.client.event
{
	import com.iap.common.model.Favorite;
	
	import flash.events.Event;
	
	public class FavoriteRendererEvent extends Event
	{
		public static const CLICK:String = "favorite.click";
		public static const DELETE:String = "favorite.delete";

		public var data:Favorite;
		
		public function FavoriteRendererEvent(type:String, data:Favorite)
		{
			super(type);
			this.data = data;
		}

		override public function clone():Event
		{
			return new FavoriteRendererEvent(type, data);
		}
	}
}